import Layout from '@/layout'
export default {
  path: '/employees',
  name: 'employees',
  component: Layout,
  children: [
    {
      path: '',
      component: () => import('@/views/employees/index.vue'),
      meta: {
        title: '员工',
        icon: 'people'
      }
    },
    {
      path: 'detail/:id?', // 表示该参数，可传可不传
      component: () => import('@/views/employees/detail.vue'),
      hidden: true,
      meta: {
        title: '员工详情'
      }
    }
  ]
}
